package com.zyl.commonbase.handle;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Auther:郑誉略
 * Date: 2020-12-04 22:27
 * Description: <描述>
 */
@Data
@AllArgsConstructor  //生成有参数构造方法
@NoArgsConstructor   //生成无参数构造
public class CourseException extends RuntimeException{

    @ApiModelProperty(value = "状态码")
    private Integer code;//状态码
    private String msg;//异常信息

}
